Renesas Electronics /R7FA6M1AD /ACMPHS0 /CMPCTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CMPCTL

7 43 0 0 00 0 0 0 0 0 0 0 0 (0)CINV 0 (0)COE 0 (0)CSTEN 0 (00)CEG0 (00)CDFS 0 (0)HCMPON

HCMPON=0, CSTEN=0, COE=0, CINV=0, CEG=00, CDFS=00

Description

Comparator Control Register

Fields

CINV

Comparator output polarity selection

0 (0): Comparator output not inverted

1 (1): Comparator output inverted

COE

Comparator output enable

0 (0): Comparator output disabled (the output signal is low level).

1 (1): Comparator output enabled

CSTEN

Interrupt Select

0 (0): Output via the Edge selector

1 (1): Direct output

CEG

Selection of valid edge (Edge selector)

0 (00): No edge selection.

1 (01): Rising edge selection.

2 (10): Falling edge selection

3 (11): Both-edge selection

CDFS

Noise filter selection

0 (00): Noise filter not used.

1 (01): Noise filter sampling frequency is 2^3/PCLKB.

2 (10): Noise filter sampling frequency is 2^4/PCLKB.

3 (11): Noise filter sampling frequency is 2^5/PCLKB.

HCMPON

Comparator operation control

0 (0): Operation stopped (the comparator outputs a low-level signal)

1 (1): Operation enabled (input to the comparator pins is enabled

Links

()